#include<stdio.h>
#include<string.h>
#include "../include/meta.h"
#include "../include/vfs_errorcodes.h"

/*void main(){
	char cmd[50],label[50],folder[20];
	int size;
	int i=0;
	while(1)
	{
		printf("vfs>");
		gets(cmd);
		//printf("%s\n",cmd);
		//strcpy(cmd,"create_vfs qwer");
		char *token;
		token = strtok(cmd," ");
		
		//scanf("%s",label);
	     	//scanf("%d",&size);
		//printf("%s %s %d",cmd,label,size);
		//printf("%s\n",token);
	
		if(!strcmp(token,"create_vfs"))
		{	
			token = strtok(NULL," ");
			strcpy(label,token);
			token = strtok(NULL," ");
			size = atoi(token);
			
			create_vfs(label,size);
			
		}
		if(!strcmp(token,"mount_vfs"))
		{
			token = strtok(NULL," ");
			mount_vfs(token);
		}
		if(!strcmp(token,"makedir"))
		{
			token = strtok(NULL," ");
			//makedir(token);
		}
		if(!strcmp(token,"unmount_vfs"))
		{
			token = strtok(NULL," ");
			unmount_vfs(token);
		}
		if(!strcmp(token,"createdir"))
		{
			token = strtok(NULL," ");
			strcpy(label,token);
			token = strtok(NULL," ");
			strcpy(folder,token);
			
			createdir(label,folder);
		}
		
	}
}
*/
